<!DOCTYPE html>
<html lang="zh-cn">
<head>
<title>登陆</title>
<meta charset="UTF-8">
<!-- hypertext reference -->
<link rel="stylesheet" href="css/bootstrap.css">
<script src="js/jquery-3.4.1.js" type="text/javascript"></script>
<script src="js/bootstrap.js" type="text/javascript"></script>
<style>
.c1{
border-radius:20px;
}
.f{
font-color:white;
}
</style>
</head>

<body style="background-image:url(img/car1.jpg);background-size:100%">

<div class="row">
<div class="col-md-4"></div>
<div class="col-md-4">

<form class="form-horizontal" action="CarServlet" method="post"  style="margin-top:70px">

 
  <div class="form-group">
    <label for="inputEmail3" class="col-sm-3 control-label f"><font color="white">姓&nbsp;&nbsp;&nbsp;&nbsp;名</font></label>
    <div class="col-sm-9">
      <input type="text" class="form-control" id="inputEmail3" placeholder="请输入您的姓名" name="username" style="width:75%">
    </div>
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-3 control-label f"><font color="white">密&nbsp;&nbsp;&nbsp;&nbsp;码</font></label>
    <div class="col-sm-9">
      <input type="password" class="form-control" id="inputPassword3" placeholder="请输入您的密码" name="pwd" style="width:75%">
    </div>
  </div>

  <div class="form-group">
    <div class="col-sm-offset-4 col-sm-7">
    
      <button type="submit" class="btn btn-default btn-danger c1">登&nbsp;&nbsp;&nbsp;&nbsp;陆</button>
      
    <!--   <a href="http://localhost:8080/car/register.html">
    <button class="btn btn-default btn-danger c1">注&nbsp;&nbsp;&nbsp;&nbsp;册</button>
</a> -->
<!-- 
 <a href="http://localhost:8080/car/register.html" class="btn btn-default btn-danger c1">注&nbsp;&nbsp;&nbsp;&nbsp;册</a>
 -->      <button type="button" class="btn btn-default btn-danger c1" onclick="click1()">注&nbsp;&nbsp;&nbsp;&nbsp;册</button>
    </div>
  </div>
</form>
</div>
<div class="col-md-4"></div>
</div>
</body>
<script>
function click1(){

	location.href="http://localhost:8080/car/register.html";
}
</script>
</html>